<?php

namespace App\Http\Controllers\Index;

use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\DB;
use App\Http\Controllers\Index\Base;



class Index extends Base
{
    //
    public function index(){
        $categorys = $this->getTreeCategory();
        return view('index.index')->with([
            'categorys'=>$categorys,
        ]);
    }
}
